﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.Odbc;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Reviewer.Entities.Services;
using Reviewer.Business;

public partial class public_html_NewSite_CMSV2_Grafik_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            using (IFrontPagePostService service = ServiceFactory.FrontPagePostService)
            {
                this.uiRepInactive.DataSource = service.Find(false, -1);
                this.uiRepInactive.DataBind();

                this.uiRepActive.DataSource = service.Find(true, 22);
                this.uiRepActive.DataBind();
            }
        }
    }
}
